#include "Entity.h"
#include "base.h"
#include "Types.h"

Entity::Entity(void)
{
	m_position = vector3(0,0,0);
	m_orientation = vector3(0,0,0);
}
Entity::~Entity(void)
{
}
void Entity::Update(IGame *pGame)
{
}
void Entity::Draw(IRenderer *pRenderer)
{
}
std::string Entity::ToString() const
{
	return "null_entity";
}
vector3 Entity::GetDirection() const
{
	return vector3(0.0f,0.0f,1.0f).Rotate(m_orientation);
}
void Entity::MoveFacing(const vector3 &movement)
{
	m_position = m_position.MoveInDirection(movement, GetDirection());
}